package com.stylefeng.guns.modular.area.model;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author liqi
 * @since 2017-11-06
 */
@TableName("BDAP_AREA")
public class BdapArea extends Model<BdapArea> {

    private static final long serialVersionUID = 1L;
    
    /**
     * 是否关注
     */
    @TableField(exist = false)
    private Integer isImportant;
    /**
     * 集团区域id
     */
	@TableField("GROUP_AREAID")
    private String groupAreaid;
    /**
     * 描述
     */
	@TableField("DESCRIPTION")
	private String description;
	
    /**
     * 类型
     */
	@TableField("TYPE")
	private String type;
	
    /**
     * 区县
     */
	@TableField("DISTRICT")
	private String district;
	
    /**
     * 严重值
     */
	@TableField("SEVERE_VALUE")
	private Integer severeValue;
    /**
     * 饱和值
     */
	@TableField("SATURATION_VALUE")
	private Integer saturationValue;
    /**
     * 警戒值
     */
	@TableField("WARNING_VALUE")
	private Integer warningValue;
    /**
     * 纬度
     */
	@TableField("LAT")
	private String lat;
    /**
     * 经度
     */
	@TableField("LON")
	private String lon;
    
    /**
     * 区域名称
     */
	@TableField("NAME")
	private String name;
    /**
     * 地市
     */
	@TableField("CITY")
	private String city;
    /**
     * 用户id
     */
	@TableField("USERID")
	private Integer userid;
    /**
     * 主键id
     */
	@TableId(type = IdType.AUTO)
	@TableField("ID")
	private Long id;


	public Integer getSevereValue() {
		return severeValue;
	}

	public void setSevereValue(Integer severeValue) {
		this.severeValue = severeValue;
	}

	public Integer getSaturationValue() {
		return saturationValue;
	}

	public void setSaturationValue(Integer saturationValue) {
		this.saturationValue = saturationValue;
	}

	public Integer getWarningValue() {
		return warningValue;
	}

	public void setWarningValue(Integer warningValue) {
		this.warningValue = warningValue;
	}

	public String getLat() {
		return lat;
	}

	public void setLat(String lat) {
		this.lat = lat;
	}

	public String getLon() {
		return lon;
	}

	public void setLon(String lon) {
		this.lon = lon;
	}


	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public Integer getUserid() {
		return userid;
	}

	public void setUserid(Integer userid) {
		this.userid = userid;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getDistrict() {
		return district;
	}

	public void setDistrict(String district) {
		this.district = district;
	}

	public String getGroupAreaid() {
		return groupAreaid;
	}

	public void setGroupAreaid(String groupAreaid) {
		this.groupAreaid = groupAreaid;
	}

	public Integer getIsImportant() {
		return isImportant;
	}

	public void setIsImportant(Integer isImportant) {
		this.isImportant = isImportant;
	}

	@Override
	public String toString() {
		return "";
	}
}
